package view.controller;

import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.CheckBox;
import javafx.scene.control.TextField;
import javafx.scene.image.ImageView;
import logic.FileSystem;
import logic.MyFile;

public class NewFileWindowController {
    public NewFileWindowController(){}
    FileSystem fileSystem;

    @FXML
    private Button submit;

    public Button getSubmit() {
        return submit;
    }

    @FXML
    private CheckBox edit;

    @FXML
    private CheckBox read;


    @FXML
    private TextField filename;

    @FXML
    private TextField filetype;
    int current_i,current_j;

    public CheckBox getEdit() {
        return edit;
    }

    public CheckBox getRead() {
        return read;
    }

    public TextField getFilename() {
        return filename;
    }

    public TextField getFiletype() {
        return filetype;
    }

    public void initialize(){
        //System.out.println("newFileWindow init");
        fileSystem = FileSystem.getInstance();
        current_i = 0;
        current_j = -1;
    }


}
